package com.meilai.project.service.administration.goods;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.meilai.project.dto.administration.goods.GoodsPutStorageDTO;
import com.meilai.project.entity.administration.goods.GoodsPutStorage;
import com.meilai.project.vo.administration.goods.GoodsPutStorageVO;
import com.meilai.project.vo.business.sale.BillSaleGroupVO;

import java.util.List;

/**
 * @author ykb
 * @date 2022/2/12 20:22
 */
public interface GoodsPutStorageService extends IService<GoodsPutStorage> {
    // 分页
    Page<GoodsPutStorageVO> selectPageList(Integer current_page, Integer page_size,
                                           GoodsPutStorageDTO searchDTO);


    // 新增
    Boolean addOne(GoodsPutStorageDTO dto);

    // 编辑
//    Boolean editOne(GoodsPutStorageDTO dto);
//
//    // 删除
//    Boolean delete(Long id);

    List<BillSaleGroupVO> getList();

    GoodsPutStorageVO getOneById(Long id);
}
